﻿using System.ComponentModel.DataAnnotations;
using MediatR;
using ProduceBasicData.Domain.WarehouseManage.WarehouseEnum;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.ReceiveMaterials
{
    /// <summary>
    /// 领料命令
    /// </summary>
    public class ReceiveMaterialsCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 车间id
        /// </summary>
        public int WorkshopmodelId { get; set; }

        /// <summary>
        /// 系统编码
        /// </summary>
        public string? OrderNumber { get; set; }

        /// <summary>
        /// 预计出库日期
        /// </summary>
        public DateTime? ExpectedOutDate { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [StringLength(50)]
        public string CreateName { get; set; }


        /// <summary>
        /// 备注信息
        /// </summary>
        public string? Remark { get; set; }
    }
}
